package com.spark.rectify

import android.os.Bundle
import com.spark.common.BaseActivity

class RectMessageActivity : BaseActivity() {
    private var rectMessageFragment: RectMessageFragment? = null

    override fun contentResId(): Int {
        return R.layout.frag_handle
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        intent?.apply {
            getStringExtra("data")?.apply {
                rectMessageFragment = RectMessageFragment.newInstance()
                loadRootFragment(R.id.fl_content, rectMessageFragment!!)
            }
        }
    }
}